<!DOCTYPE html>
<html lang="zh-cmn-Hans">
	<head>
		<meta charset="UTF-8">
		<meta http-equiv="X-UA-Compatible" content="ie=edge" />
		<title>鹿程智慧油站商户平台</title>
		<meta name="description" content="鹿程科技是提供加油站互联网化零管系统、营销及支付和大数据分析运营服务的行业领先科技公司。鹿程科技充分了解加油站行业的需求和新兴互联网的发展,依靠业内最先进的科技和标准化的运营,持续帮助油站业务发展创造价值。"/>
		<meta name="keywords" content="智慧油站,鹿程,鹿程智慧油站,鹿程智慧油站微信支付,加油站微信支付,加油站营销管理"/>
		<link rel="icon" href="https://static.zhihuiyouzhan.com.cn/static/styles/admin/img/title.ico" type="image/x-icon">
		<link rel="shortcut icon" href="https://static.zhihuiyouzhan.com.cn/static/styles/admin/img/title.ico" type="image/x-icon">
		<link href="//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
		<link rel="stylesheet" href="../layui/css/layui.css" />
		<link rel="stylesheet" href="../css/style.css" />
	</head>
<body>
	<section class="section-right">
		<!--deer-tit-->
		<div class="deer-tit">
			<h3>会员分析</h3>
			<h4>销售分析</h4>
		</div>
		<!--/deer-tit-->
		<!--deer-content-->
		<div class="deer-content">			
			<div class="biz-member-filter">
				<dl>
					<span>时间维度</span>
					<a href="" data-type="1" class="active">30天</a>
					<a href="" data-type="1" class="">自然月</a>
					<i class="fa fa-question-circle fa-2x"></i>
				</dl>
				<dl>
					<span>时间范围</span>
					<a href="" data-type="1" class="active">昨天</a>
					<a href="" data-type="1" class="">最近八天</a>
					<a href="" data-type="1" class="">最近30天</a>
					<a href="" data-type="1" class="">2017-08-04至2017-09-11</a>
					<i class="fa fa-question-circle fa-2x"></i>
				</dl>
				<dl>
					<span>订单筛选</span>
					<a href="" data-type="1" class="active">所有等级</a>
					<a href="" data-type="1" class="">合并等级</a>
					<a href="" data-type="1" class="">银卡订单</a>
					<a href="" data-type="1" class="">金卡订单</a>
					<a href="" data-type="1" class="">白金卡订单</a>
					<i class="fa fa-question-circle fa-2x"></i>
				</dl>
			</div>
			<div class="biz-tubiao">
				<div class="echarts_box" id="main1"></div>
			</div>			
			<table class="layui-table" lay-even>
		       	<thead>
		       		<tr>
		       			<th>时间</th>
						<th>油号</th>
						<th>订单等级</th>
						<th>消费笔数（笔）</th>
						<th>消费金额（元）</th>
						<th>消费金额占比</th>
						<th>消费升数（升）</th>
						<th>升量占比</th>
		       		</tr>
		       	</thead>
		       	<tbody>
					<tr>
						<td></td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
					</tr>
					<tr>
						<td></td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
					</tr>
					<tr>
						<td></td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
					</tr>
				</tbody>
		    </table>
		</div>
			
		<!--/deer-content-->
	</section>
	<!--js-->
		<aside>
			<script type="text/javascript" src="../layui/layui.js" ></script>
			<script type="text/javascript" src="../js/echarts.min.js" ></script>
			<script type="text/javascript">
				layui.use(['jquery'],function(){					
					var $=layui.jquery;					
					$('.biz-member-filter a').bind('click',function(){
				    	$(this).addClass('active').siblings().removeClass('active')
				    	return false
			    	})
				})
    
		  		// 基于准备好的dom，初始化echarts实例
		        var myChart = echarts.init(document.getElementById('main1'));
		        // 指定图表的配置项和数据
		        var xAxisData = [];
		        var data1 = [];
		        var data2 = [];
		        var data3 = [];
		        var data4 = [];
		        var d = ['0#','92#','95#'];
		
		        for (var i = 0; i < 3; i++) {
		            xAxisData.push('' + d[i]);
		            data1.push((Math.random() * 2).toFixed(2));
		            data2.push(-Math.random().toFixed(2));
		            data3.push((Math.random() * 5).toFixed(2));
		            data4.push((Math.random() + 0.3).toFixed(2));
		        }
		
		        var itemStyle = {
		            normal: {
		            },
		
		        };
		
		        option = {
		
		            legend: {
		                data: [ '银卡订单', '金卡订单', '白金卡订单'],
		                align: 'left'
		            },
		
		        tooltip: {},
		            xAxis: {
		                data: xAxisData,
		            },
		            yAxis: {
		                name: '笔数',
		            },
		
		
		            series: [
		
		                {
		                    name: '银卡订单',
		                    type: 'bar',
		                    stack: 'two',
		                    itemStyle: itemStyle,
		                    data: data3
		                },
		                {
		                    name: '金卡订单',
		                    type: 'bar',
		                    stack: 'two',
		                    itemStyle: itemStyle,
		                    data: data4
		                },
		                {
		                    name: '白金卡订单',
		                    type: 'bar',
		                    stack: 'two',
		                    itemStyle: itemStyle,
		                    data: data3
		                }
		            ]
		        };		
		        // 使用刚指定的配置项和数据显示图表。
		        myChart.setOption(option);
			</script>
		</aside>
		<!--/js-->
</body>
</html>
